package com.entity.model;

import com.entity.DangaoshangpinEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
 

/**
 * 蛋糕商品
 * 接收传参的实体类  
 *（实际开发中配合移动端接口开发手动去掉些没用的字段， 后端一般用entity就够用了） 
 * 取自ModelAndView 的model名称
 * @author 
 * @email 
 */
public class DangaoshangpinModel  implements Serializable {
	private static final long serialVersionUID = 1L;

	 			
	/**
	 * 蛋糕分类
	 */
	
	private String dangaofenlei;
		
	/**
	 * 蛋糕图片
	 */
	
	private String dangaotupian;
		
	/**
	 * 蛋糕颜色
	 */
	
	private String dangaoyanse;
		
	/**
	 * 蛋糕口味
	 */
	
	private String dangaokouwei;
		
	/**
	 * 蛋糕尺寸
	 */
	
	private String dangaochicun;
		
	/**
	 * 上货时间
	 */
		
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 
	private Date shanghuoshijian;
		
	/**
	 * 过期日期
	 */
		
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 
	private Date guoqiriqi;
		
	/**
	 * 商品详情
	 */
	
	private String shangpinxiangqing;
		
	/**
	 * 单限
	 */
	
	private Integer onelimittimes;
		
	/**
	 * 库存
	 */
	
	private Integer alllimittimes;
		
	/**
	 * 最近点击时间
	 */
		
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 
	private Date clicktime;
		
	/**
	 * 积分
	 */
	
	private Integer jf;
		
	/**
	 * 价格
	 */
	
	private Float price;
		
	/**
	 * 会员价
	 */
	
	private Float vipprice;
				
	
	/**
	 * 设置：蛋糕分类
	 */
	 
	public void setDangaofenlei(String dangaofenlei) {
		this.dangaofenlei = dangaofenlei;
	}
	
	/**
	 * 获取：蛋糕分类
	 */
	public String getDangaofenlei() {
		return dangaofenlei;
	}
				
	
	/**
	 * 设置：蛋糕图片
	 */
	 
	public void setDangaotupian(String dangaotupian) {
		this.dangaotupian = dangaotupian;
	}
	
	/**
	 * 获取：蛋糕图片
	 */
	public String getDangaotupian() {
		return dangaotupian;
	}
				
	
	/**
	 * 设置：蛋糕颜色
	 */
	 
	public void setDangaoyanse(String dangaoyanse) {
		this.dangaoyanse = dangaoyanse;
	}
	
	/**
	 * 获取：蛋糕颜色
	 */
	public String getDangaoyanse() {
		return dangaoyanse;
	}
				
	
	/**
	 * 设置：蛋糕口味
	 */
	 
	public void setDangaokouwei(String dangaokouwei) {
		this.dangaokouwei = dangaokouwei;
	}
	
	/**
	 * 获取：蛋糕口味
	 */
	public String getDangaokouwei() {
		return dangaokouwei;
	}
				
	
	/**
	 * 设置：蛋糕尺寸
	 */
	 
	public void setDangaochicun(String dangaochicun) {
		this.dangaochicun = dangaochicun;
	}
	
	/**
	 * 获取：蛋糕尺寸
	 */
	public String getDangaochicun() {
		return dangaochicun;
	}
				
	
	/**
	 * 设置：上货时间
	 */
	 
	public void setShanghuoshijian(Date shanghuoshijian) {
		this.shanghuoshijian = shanghuoshijian;
	}
	
	/**
	 * 获取：上货时间
	 */
	public Date getShanghuoshijian() {
		return shanghuoshijian;
	}
				
	
	/**
	 * 设置：过期日期
	 */
	 
	public void setGuoqiriqi(Date guoqiriqi) {
		this.guoqiriqi = guoqiriqi;
	}
	
	/**
	 * 获取：过期日期
	 */
	public Date getGuoqiriqi() {
		return guoqiriqi;
	}
				
	
	/**
	 * 设置：商品详情
	 */
	 
	public void setShangpinxiangqing(String shangpinxiangqing) {
		this.shangpinxiangqing = shangpinxiangqing;
	}
	
	/**
	 * 获取：商品详情
	 */
	public String getShangpinxiangqing() {
		return shangpinxiangqing;
	}
				
	
	/**
	 * 设置：单限
	 */
	 
	public void setOnelimittimes(Integer onelimittimes) {
		this.onelimittimes = onelimittimes;
	}
	
	/**
	 * 获取：单限
	 */
	public Integer getOnelimittimes() {
		return onelimittimes;
	}
				
	
	/**
	 * 设置：库存
	 */
	 
	public void setAlllimittimes(Integer alllimittimes) {
		this.alllimittimes = alllimittimes;
	}
	
	/**
	 * 获取：库存
	 */
	public Integer getAlllimittimes() {
		return alllimittimes;
	}
				
	
	/**
	 * 设置：最近点击时间
	 */
	 
	public void setClicktime(Date clicktime) {
		this.clicktime = clicktime;
	}
	
	/**
	 * 获取：最近点击时间
	 */
	public Date getClicktime() {
		return clicktime;
	}
				
	
	/**
	 * 设置：积分
	 */
	 
	public void setJf(Integer jf) {
		this.jf = jf;
	}
	
	/**
	 * 获取：积分
	 */
	public Integer getJf() {
		return jf;
	}
				
	
	/**
	 * 设置：价格
	 */
	 
	public void setPrice(Float price) {
		this.price = price;
	}
	
	/**
	 * 获取：价格
	 */
	public Float getPrice() {
		return price;
	}
				
	
	/**
	 * 设置：会员价
	 */
	 
	public void setVipprice(Float vipprice) {
		this.vipprice = vipprice;
	}
	
	/**
	 * 获取：会员价
	 */
	public Float getVipprice() {
		return vipprice;
	}
			
}
